﻿package Message.Game
{
    import Framework.Serialize.*;

    public class SNpcTask extends Object
    {
        public var status:int;
        public var extend:int;
        public var task:STask;

        public function SNpcTask()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.status);
            param1.writeInt(this.extend);
            this.task.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.status = param1.readInt();
            this.extend = param1.readInt();
            this.task = new STask();
            this.task.__read(param1);
            return;
        }// end function

    }
}
